#coding=utf-8
##########################
#consts
##########################

##
#define the number of days for a business to be old (days which not been seen)
#10 is old?
OLD_IN_DAYS = 10
##
#min of users who rates the deal before deleting it
MIN_USERS_RATED = 10
##
#delete deals with low rate and above MIN_USERS_RATED
LOW_RATE = 2
##
#default credit for a user for each week
DEFAULT_CREDIT = 5
##
#
FAKE_DEAL_LIMIT = 10


###
#Weekdays bitmap
MONDAY = 0x1
TUESDAY= 0x2
WEDNESDAY = 0x4
THURSDAY = 0x8
FRIDAY = 0x10
SATURDAY = 0x20
SUNDAY = 0x40
ALL_DAYS = 0x7F

###
#business types
REST = [0x1, "rest"]
PUB = [0x2, "pub"]
PARTY = [0x4, "party"]

BUSINESS_TYPES_ALL = [REST, PUB, PARTY]
###
#deal types consts

#each deal type is a list {type_name, type_hints}
BEARTHDAY = ['1', ['birthday', u'הולדת']]
BEER = ['2', ['beer', 'draught', u'בירה', u'חבית', 'heineken',u'היניקן', 'becks', u'בקס', 'barbar', u'ברבר', 'goldstar', u'גולדסטאר', 'guiness', u'גינס', 'hoegaarden', u'הוגרדן', 'tuborg', u'טובורג', 'leffe', u'לף', 'murphy', u'מרפי', 'stella', u'סטלה', 'carlsberg', u'קרלסברג', 'corona', u'קורונה' ]]
WINE = ['3', ['wine', u'יין', 'merlo', u'מרלו', 'cabernet', u'קברנה', 'cava', u'שמפניה']]
CHASER =['4', ['chaser', u'ציסר', 'shot', u'שוט']]
COCKTAIL = ['5', ['cocktail', u'קוקטיל', 'margarita', u'מרגריטה']]
MEAT = ['6', ['meat', 'burger', u'בשר', u'בורגר', 'steak', u'סטיק']]
DESSERT = ['7', ['dessert', 'chocolate', 'sweet', u'קינוח', u'שוקולד', u'מתוק', u'tiramisu']]
ASIAN_FOOD = ['8', ['asian food', 'sushi', u'סושי', 'chinese', 'japanese', 'noodles', u'סיני', u'יפני', u'נודלס']]
ITALIAN_FOOD = ['9', ['italian food', 'pizza', u'פיצה', 'spaghetti', u'ספגטי']]
HOT_DRINK = ['10', ['hot drinks', 'coffe', 'tea', 'chai', u'קפה', u'תה', u'צאי']]
BREAKFAST = ['11', ['breakfast', u'בוקר']]

#default
REST = ['12', ['rest']]
PUB = ['13', ['pub']]
PARTY = ['14', ['party']]

DEAL_TYPES_ALL = [BEARTHDAY, BEER, WINE, CHASER, COCKTAIL, MEAT, DESSERT, ITALIAN_FOOD, ASIAN_FOOD, BREAKFAST, HOT_DRINK]
DEFAULT_DEAL_TYPES = [REST, PUB, REST]
 